//
//  ORTouModel.m
//  News
//
//  Created by rimi on 2016/12/11.
//  Copyright © 2016年 dongfumei. All rights reserved.
//

#import "ORTouModel.h"

@implementation ORTouModel

+(NSArray<ORTouModel *> *)buildNews:(NSArray *)arrNews{
    if ([arrNews isKindOfClass:[NSArray class]] && [arrNews count]) {
        NSMutableArray * arrNewsModel = [NSMutableArray array];
        for (NSDictionary * dicN in arrNews) {
            ORTouModel * news = [[ORTouModel alloc]init];
            [news setValuesForKeysWithDictionary:dicN];
            [arrNewsModel addObject:news];
        }
        return arrNewsModel;
    }
    return nil;
    
}

@end
